package com.yikome.shop.entity;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Lob;
import javax.persistence.Table;

import com.yikome.common.BaseEntity;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Getter
@Setter
@NoArgsConstructor
@Entity
@Table(name = "s_present")
public class Present extends BaseEntity {

	private static final long serialVersionUID = 8046291812449773081L;

	private String name ; 
	
	private String thumb ; 
	
	private String comments ; 
	
	@Lob
	@Basic(fetch = FetchType.LAZY)
	@Column(columnDefinition="TEXT" , nullable=true)
	private String present ; 
	
	@Lob
	@Basic(fetch = FetchType.LAZY)
	@Column(columnDefinition="TEXT" , nullable=true)
	private String template ;
	
	@Lob
	@Basic(fetch = FetchType.LAZY)
	@Column(columnDefinition="TEXT" , nullable=true)
	private String script ; 
	
}
